import request from "../../utils/request";

export const registerAPI = async (data) =>{
	try{
        console.log("registerData:",data);
	
	    const res=await request.post("/users/register", data, "api/v1", { method: "POST" }); 
	
	    console.log("resData:",res);
    
	    return res;

    }catch(err){
        console.log('err in register:',err);
    }
		
}

